package com.app.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.annotation.JSONType;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author zxy
 * @since 2021-04-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Works implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 开始时间
     */
    @JSONField(format = "HH:mm:ss")
    private Date startTime;

    /**
     * 结束时间
     */
    @JSONField(format = "HH:mm:ss")
    private Date endTime;

    /**
     * 是否发布计划
     */
    @TableField(exist = false)
    private Boolean is;


}
